3.1.80 \(\int \sqrt {\frac {b}{x}} \, dx\)

Optimal. Leaf size=12 \[ 2 x \sqrt {\frac {b}{x}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {15, 30} \begin {gather*} 2 x \sqrt {\frac {b}{x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[b/x],x]

[Out]

2*Sqrt[b/x]*x

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \sqrt {\frac {b}{x}} \, dx &=\left (\sqrt {\frac {b}{x}} \sqrt {x}\right ) \int \frac {1}{\sqrt {x}} \, dx\\ &=2 \sqrt {\frac {b}{x}} x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 12, normalized size = 1.00 \begin {gather*} 2 x \sqrt {\frac {b}{x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b/x],x]

[Out]

2*Sqrt[b/x]*x

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.01, size = 12, normalized size = 1.00 \begin {gather*} 2 x \sqrt {\frac {b}{x}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[Sqrt[b/x],x]

[Out]

2*Sqrt[b/x]*x

________________________________________________________________________________________

fricas [A]  time = 0.97, size = 10, normalized size = 0.83 \begin {gather*} 2 \, x \sqrt {\frac {b}{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b/x)^(1/2),x, algorithm="fricas")

[Out]

2*x*sqrt(b/x)

________________________________________________________________________________________

giac [A]  time = 0.15, size = 9, normalized size = 0.75 \begin {gather*} 2 \, \sqrt {b x} \mathrm {sgn}\relax (x) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b/x)^(1/2),x, algorithm="giac")

[Out]

2*sqrt(b*x)*sgn(x)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 11, normalized size = 0.92 \begin {gather*} 2 \sqrt {\frac {b}{x}}\, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b/x)^(1/2),x)

[Out]

2*x*(b/x)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.28, size = 10, normalized size = 0.83 \begin {gather*} 2 \, x \sqrt {\frac {b}{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b/x)^(1/2),x, algorithm="maxima")

[Out]

2*x*sqrt(b/x)

________________________________________________________________________________________

mupad [B]  time = 0.97, size = 10, normalized size = 0.83 \begin {gather*} 2\,x\,\sqrt {\frac {b}{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b/x)^(1/2),x)

[Out]

2*x*(b/x)^(1/2)

________________________________________________________________________________________

sympy [A]  time = 0.17, size = 14, normalized size = 1.17 \begin {gather*} 2 \sqrt {b} x \sqrt {\frac {1}{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b/x)**(1/2),x)

[Out]

2*sqrt(b)*x*sqrt(1/x)

________________________________________________________________________________________